package com.ruoyi.community.service;

import java.util.List;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.community.domain.BaseActivityRegisterRequest;
import com.ruoyi.community.domain.CpcActivityParticipate;

/**
 * 党建活动签到Service接口
 * 
 * @author ruoyi
 * @date 2021-12-22
 */
public interface ICpcActivityParticipateService 
{
    public CpcActivityParticipate selectCpcActivityParticipateById(String id);

    public List<CpcActivityParticipate> selectCpcActivityParticipateList(CpcActivityParticipate cpcActivityParticipate);

    // 查询活动id对应的报名记录
    public List<SysUser> selectCpcActivityParticipateListById(String id);

    public int insertCpcActivityParticipate(BaseActivityRegisterRequest baseActivityRegisterRequest);

    public boolean hasRegistered(BaseActivityRegisterRequest baseActivityRegisterRequest);

    public int updateCpcActivityParticipate(CpcActivityParticipate cpcActivityParticipate);

    public int deleteCpcActivityParticipateByIds(String[] ids);

    public int deleteCpcActivityParticipateById(String id);
}
